
# export DEV_HOME=/data/gitee/arkcompiler/runtime_core/static_core
export DEV_HOME=`pwd`
export BUILD_HOME=$DEV_HOME"/build_arkts"
cd $DEV_HOME
rm -rf $BUILD_HOME
mkdir $BUILD_HOME && cd $BUILD_HOME

cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug

#ninja -k1 ark ark_aot es2panda ark_disasm verifier etsstdlib
ninja -k1 --verbose-filter all

$DEV_HOME/tests/tests-u-runner/runner.sh $DEV_HOME --ets-func-tests --test-root=$DEV_HOME/plugins/ets --build-dir $BUILD_HOME --verbose=SHORT --force-generate --processes=`nproc`

$DEV_HOME/tests/tests-u-runner/runner.sh $DEV_HOME --parser --build-dir $BUILD_HOME --verbose=SHORT --no-js --force-generate --processes=`nproc`

$DEV_HOME/tests/tests-u-runner/runner.sh $DEV_HOME --ets-runtime --build-dir $BUILD_HOME --verbose=all --force-generate --processes=`nproc`

$DEV_HOME/tests/tests-u-runner/runner.sh $DEV_HOME --ets-cts --build-dir $DEV_HOME/build_arkts --verbose=SHORT --force-generate --processes=`nproc`